import random
a = 0
n = int(input())
for i in range(n):
    x = (random.randint(-100,100))
    y = (random.randint(-100,100))
    if(-7 <= x <= 5) and (-8 <= y <= 5):
        a = a+1
print("кол-во попаданий", a)





